package com.basic.backend.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.basic.backend.model.dto.articles.ArticleQueryRequest;
import com.basic.backend.model.entity.ArticleVideos;
import com.basic.backend.model.vo.VideoVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;


/**
* @author ASUS
* @description 针对表【article_videos(视频类文章数据表（含视频元数据）)】的数据库操作Service
* @createDate 2025-03-26 17:29:35
*/
public interface ArticleVideosService extends IService<ArticleVideos> {

    boolean processVideoArticle(MultipartFile videoFile, String title, String content, Long userId);

    Page<VideoVO> getArticleImagesPage(ArticleQueryRequest request, HttpServletRequest httpRequest);

    void updateVideoArticle(MultipartFile videoFile, String title, String content, Long id);
}
